package com.czn.shopdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czn.shopdemo.model.Order;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author Zenan Chen
 * @date 2023/4/6 9:00
 */
public interface OrderService extends IService<Order> {
    void createOrder(Order order, HttpServletRequest request);

    void cancelOrder(String orderId);

    List<Order> getOrderList(String userId);

    Order getOrderDetail(String orderId);
}
